#include "_student_manager.h"
int main()
 {
    stu GEC[10];
    int len1 = sizeof(GEC) / sizeof(stu);
    int choose, flag = 1;
    printf("%d\n",student_count);
    for (int i = 0; i < len1; i++) 
    {
        GEC[i].age = 0;
        GEC[i].id = 0;
        memset(GEC[i].name, 0, 10);
        memset(GEC[i].tel, 0, 12);
    }

    while (flag) 
    {
        menu();
        scanf("%d", &choose);

        switch (choose) 
        {
            case 1: handleAdd(GEC, len1);

             break;  //has test
            case 2: handleModify(GEC, len1); break;     //has test
            case 3: handleDelete(GEC, len1); break;     //has test
            case 4: handleFind(GEC, len1); break;       //has test
            case 5: handlePrintAll(GEC, len1); break;   //has test
            default: flag = 0; printf("Exited\n"); break;//has test
        }
    }
    return 0;
}